package yhao.infra.feature.alipay.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yoara
 * <p> Created on 2019/8/30 </p>
 */
@ConfigurationProperties(prefix = "yhao.alipay")
public class YhaoAlipayProperties {
    /** 支付宝相关配置，不同的配置用不同的前缀 **/
    private Map<String, AliPayConfig> config = new HashMap<>();

    public Map<String, AliPayConfig> getConfig() {
        return config;
    }

    public void setConfig(Map<String, AliPayConfig> config) {
        this.config = config;
    }
}
